package com.yxy.model;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import java.util.Date;
import java.math.BigDecimal;

import javax.persistence.*;


@Data
@Entity
@Table(name = "table_project",schema = "")
public class TableProject {

  //null
  @Id
  @KeySql(useGeneratedKeys = true,sql = "SELECT @@IDENTITY",order = ORDER.AFTER)
  @Column(name = "id")
  private Long id;

  //项目编码
  @Column(name = "pro_code")
  private String proCode;

  @Column(name = "tenant_id")
  private Long tenantId;

  //项目名称
  @Column(name = "pro_name")
  private String proName;

  //项目发起人
  @Column(name = "pro_person_Initiator")
  private String proPersonInitiator;

  //项目责任人
  @Column(name = "pro_person_liable")
  private String proPersonLiable;

  //起始时间
  @Column(name = "pro_start_time")
  private String proStartTime;

  //终止时间
  @Column(name = "pro_end_time")
  private String proEndTime;

  //项目进度
  @Column(name = "pro_schedule")
  private Double proSchedule;

  //项目简介
  @Column(name = "pro_info")
  private String proInfo;

  //null
  @Column(name = "create_date")
  private Date createDate;

  //null
  @Column(name = "create_user_id")
  private Long createUserId;

  //null
  @Column(name = "create_user_name")
  private String createUserName;

  //null
  @Column(name = "update_date")
  private Date updateDate;

  //null
  @Column(name = "update_user_id")
  private Long updateUserId;

  //null
  @Column(name = "update_user_name")
  private String updateUserName;

  //上层 编码
  @Column(name = "pro_parent_code")
  private String proParentCode;
  //上层 项目名称
  @Column(name = "pro_parent_name")
  private String proParentName;

  //所属部门
  @Column(name = "pro_department")
  private String proDepartment;

  //项目客户名称
  @Column(name = "customer_name")
  private String customerName;



}
